package com.lahui.camera

import android.os.Bundle
import android.util.Log
import androidx.appcompat.app.AppCompatActivity
import org.opencv.android.OpenCVLoader
import org.opencv.android.Utils
import org.opencv.objdetect.CascadeClassifier

/**
 * @ClassName TestActivity
 * @Description TODO
 * @Author Administrator
 * @Date 2022/5/7 0007 下午 3:20
 * @Version 1.0
 */
class TestActivity : AppCompatActivity() {

    private val TAG = "opencv_test"

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_test)

        val img1 = Utils.loadResource(this, R.drawable.img1)
        var cascadeClassifier:CascadeClassifier = CascadeClassifier()
    }
}